import { Login } from "@/api/interface/index";
import { PORT1 } from "@/api/config/servicePort";
// import qs from "qs";

import http from "@/api";

/**
 * @name 回收模块
 */
// 数据分析
export const getSaleStatistics = (params?: any) => {
    return http.get<Login.ResLogin>(PORT1 + `/sale_statistics/search`, {}, { params });
};
export const getSaleSummary = (params?: any) => {
    return http.get<Login.ResLogin>(PORT1 + `/sale_statistics/summary`, {}, { params });
};
